//
//  Component.cpp
//  RenderV1
//
//  Created by 黄翔 on 2019/10/20.
//  Copyright © 2019 黄翔. All rights reserved.
//

#include "Component.h"

hxe::Component::Component(std::string name)
{
    this->name = name;
    this->next = nullptr;
    this->gameObject = nullptr;
}

hxe::Component::~Component()
{
    
}

std::string hxe::Component::getName() const
{
    return name;
}


void hxe::Component::start()
{

}

void hxe::Component::update()
{
    
}

void hxe::Component::destroy()
{

}
